package com.hnust.service;

import com.hnust.domain.*;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.MultipartBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.http.Part;

import java.io.File;
import java.util.List;

/**
 * 创建人：zhangRuWang
 * 创建时间：2020/10/28
 * 描述：
 */
public interface SubjectService {
    void getCourseData(Callback<Result<List<CourseData>>> callback, String id, String token);
    void getTem(Callback<ResponseBody> callback);
    void upload(Callback<Result<List<BulkImport>>> callback, MultipartBody.Part file, RequestBody courseId);
//    void paperpic(Callback<Result<File>> callback,String paperId);
    void delCourseSub(Callback<Result> callback,String subject_id,String id, String token);
    void updateSubInfo(Callback<Result<String>> callback,SubjectDataReq subjectDataReq);
   // void addSub(Callback<Result> callback, RequestBody list,String token,String id);
    void getCourseSub(Callback<Result<List<SubjectTest>>> callback,String courseId,String id,String token,Integer currentPage,Integer rows,String keyword);

    void getCourseTargetRecord(Callback<Result<List<CourseTargetRecord>>> callback,String courseId,String id,String token);
    void addSub(Callback<Result> callback, SubjectDataListReq subjectDataListReq);

    void getCourseChapterList(Callback<Result<List<CourseChapter>>> callback,String courseId,String id,String token);

    void getQuesTypeList(Callback<Result<List<QuestionTypeRecord>>> callback,String token,String id);

   // void addSub(Callback<Result<String>> callback,List<SubjectTest> subjectTests,String id,String token);
}
